package com.ping.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * @author 浩子
 *
 */
@Controller
public class HomeController {

	@GetMapping({"/","/index"})
	public String index(){
		return "index";
	}
	
	@RequestMapping("/login")
	public String loginUrl(){
		return "login";
	}
	
	@RequestMapping("/logout")
	public String logout(){
		
		return "";
	}
	
	
}
